<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

</head>

<body>
	<s:text name="check"></s:text>
	<br />
	<button>
		<a href="login!changeLanguage?request_locale=zh_CN"> <s:text
				name="chinese"></s:text> </a>
	</button>
	<button>
		<a href="login!changeLanguage.action?request_locale=en_US"> <s:text
				name="english"></s:text> </a>
	</button>
	<br />

	<h3>
		<s:text name="login.title"></s:text>
	</h3>
	<%-- 登录表单，提交到login.action --%>
	<s:form action="login!login.action">
		<table>
			<tr>
				<%--用户名输入框--%>
				<s:textfield name="userAccount" key="login.userAccount"></s:textfield>
				</td>
			</tr>
			<tr>
				<td>
					<%--用户密码输入框--%> <s:password name="userPassword"
						key="login.userPassword"></s:password></td>
			</tr>

			<tr>
				<%--登录按钮--%>
				<s:submit name="submit" key="login.submit"></s:submit>
				<%--重置按钮--%>
				<s:reset name="reset" key="login.reset"></s:reset>
				</td>
			</tr>
		</table>
		</td>
		</tr>
		<tr align=right>
			<td><a href="registeaccount.jsp"> <s:text
						name="registeaccount"></s:text>
			</a>
			</td>
		</tr>
		</table>
	</s:form>
</body>
</html>